package com.share.rule.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.share.api.rule.domain.FeeRule;
import com.share.api.rule.domain.FeeRuleRequestForm;
import com.share.api.rule.domain.FeeRuleResponseVo;


import java.util.List;

public interface IFeeRuleService extends IService<FeeRule> {


    /**
     * 查询费用规则列表
     *
     * @param feeRule 规则对象
     * @return feeRule集合
     */
    List<FeeRule> selectFeeRuleList(FeeRule feeRule);


    /**
     * 查询全部费用规则
     * @return feeRule集合
     */
    List<FeeRule> getALLFeeRuleList();

    FeeRuleResponseVo calculateOrderFee(FeeRuleRequestForm feeRuleRequestForm);
}
